add css class based on model value razor

76

add css class based on model value razor -

<div class="details @(@Model.Details.Count > 0 ? "show" : "hide")">

Comments

Submit
0 Comments